//
//  Article.h
//  iCarStyle
//
//  Created by liunian on 13-9-9.
//  Copyright (c) 2013年 liunian. All rights reserved.
//

#import <Foundation/Foundation.h>

@class NewsEntity;
@interface Article : NSObject
@property (nonatomic, assign) NSInteger cid;
@property (nonatomic, retain) NSString * content;
@property (nonatomic, retain) NSString * desc;
@property (nonatomic, retain) NSString * icon;
@property (nonatomic, assign) NSInteger nid;
@property (nonatomic, retain) NSString * title;
@property (nonatomic, retain) NSString * link;
@property (nonatomic, retain) NSString *date;

@property (nonatomic, retain) NSString *cName;//栏目名称

@property (nonatomic,getter=isFavorit) BOOL  favorit;
- (id)initWithNewsEntity:(NewsEntity *)entity;
@end

@interface NewsArticle : Article
@property (nonatomic, strong) NSArray *newsImages;
@property (nonatomic, strong) NSArray *newsTexts;

- (instancetype)instancetypeWithArticle:(Article *)article;
- (NSString *)plainText;
@end